import request from "@/utils/request.js"

//油站详情
function getStationInfo(data) {
	return request({
		url: 'station/detail',
		method: 'post',
		data
	})
}

//快捷支付金额列表
function getQuick(data) {
	return request({
		url: 'station/quick',
		method: 'post',
		data
	})
}
//油品类型
function getOilType(data) {
	return request({
		url: 'station/oil_type',
		method: 'post',
		data
	})
}
//获取支付价
function getPrice(data) {
	return request({
		url: 'order/getprice',
		method: 'post',
		data
	})
}

function addOrder(data) {
	return request({
		url: 'order/add',
		method: 'post',
		data
	})
}

function pay(data) {
	return request({
		url: 'pay/pay',
		method: 'post',
		data
	})
}

export default {
	getQuick,
	getStationInfo,
	getOilType,
	getPrice,//获取支付价
	addOrder,
	pay,//支付
}